package com.example.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.demo.entity.Goods;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Repository
public interface GoodsMapper extends BaseMapper<Goods> {

    Integer getBusinessIdByGoodId(Integer goodId);
    List<Integer> getGoodIdList(String goodName);
}
